Clean up and fix VCPU hotplug and SMP save/restore.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 28 Mar 2006 17:43:30 +0000 (18:43 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 28 Mar 2006 17:43:30 +0000 (18:43 +0100)
commitfd8719a93192f01e88303d3b5f42619aa04fed90
tree1d6529faa399a9891dfbb5e5824a418c0ab42ee8
parentee35c5fbf6f44dd7fd56a15f9af36a4f19c10cd1
Clean up and fix VCPU hotplug and SMP save/restore.
 1. No longer hold xenbus_lock while taking down VCPUs
    in SMP suspend path. This allows block device hotplug
    to continue working and so we will not deadlock on
    paging in userspace hotplug code.
 2. Track xenbus and local-admin permitted cpumasks for
    VCPUs to bring online. So, if a local admin takes a
    CPU down, that won't surprisingly get overridden next
    time the kernel interrogates xenstore.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/core/reboot.c
linux-2.6-xen-sparse/drivers/xen/core/smpboot.c
linux-2.6-xen-sparse/drivers/xen/pciback/xenbus.c
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c
linux-2.6-xen-sparse/include/xen/gnttab.h
linux-2.6-xen-sparse/include/xen/xenbus.h